package com.xiyu.service.convert.market;

import com.xiyu.service.vo.market.marketTemplate.MarketTemplateGetResourceByTemplateIdOutput;
import com.xiyu.service.vo.market.marketTemplate.MarketTemplateGetContentByTemplateIdOutput;
import com.xiyu.service.model.market.template.MarketTemplateContent;
import com.xiyu.service.vo.market.marketTemplate.MarketTemplateSimpleListOutput;
import com.xiyu.service.vo.market.marketTemplate.MarketTemplateSingleGetOutput;
import com.xiyu.service.vo.market.marketTemplate.MarketTemplatePageQueryOutput;
import com.xiyu.service.model.market.template.MarketTemplateResource;
import com.xiyu.service.vo.market.marketTemplate.MarketTemplateUpdateInput;
import com.xiyu.service.vo.market.marketTemplate.MarketTemplateCreateInput;
import com.xiyu.service.model.market.template.MarketTemplate;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 营销模板 Convert
 */
@Mapper
public interface MarketTemplateConvert {
    MarketTemplateConvert INSTANCE = Mappers.getMapper(MarketTemplateConvert.class);


    MarketTemplate createInputConvert(MarketTemplateCreateInput input);

    MarketTemplate updateInputConvert(MarketTemplateUpdateInput input);

    List<MarketTemplatePageQueryOutput> pageQueryOutputConvert(List<MarketTemplate> output);

    MarketTemplateSingleGetOutput singleGetOutputConvert(MarketTemplate output);

    List<MarketTemplateSimpleListOutput> simpleListOutputConvert(List<MarketTemplate> output);

    MarketTemplateGetContentByTemplateIdOutput getContentByTemplateIdOutputConvert(MarketTemplateContent output);

    List<MarketTemplateGetResourceByTemplateIdOutput> getResourceByTemplateIdOutputConvert(List<MarketTemplateResource> output);

}
